BuffEffect28 = BaseBuffEffect:new();
BuffEffect28.__index = BuffEffect28;

function BuffEffect28:new()
    local object = {};
    setmetatable(object, BuffEffect28);
    return object;
end

function BuffEffect28:action(fight,buff,...)
    local values = decodeJsonStrToTabel(buff.buffBean.f_Value);
    BuffManager.addBuff(fight, buff.source, buff.target, false, values[1],values[2],buff.addParameter);

    fightLog("[EFFECT]Fighter "..buff.target.fighterId.." Buff"..buff.modelId.." 触发对方死亡增加BUFF效果，增加BUFF："..values[1]);
    return EnumConst.IBuffEffect.SUCCESS;
end
